import request from '@/utils/request'

export function getList(params: any) {
  return request({
    url: '/SystemSet/BusinessProductList',
    method: 'get',
    params,
  })
}

export function doEdit(data: any) {
  return request({
    url: '/SystemSet/BusinessProductEdit',
    method: 'post',
    data,
  })
}

export function WorkTaskSetEdit(data: any) {
  return request({
    url: '/SystemSet/WorkTaskSetEdit',
    method: 'post',
    data,
  })
}

export function doDelete(data: any) {
  return request({
    url: '/systemset/business/product/doDelete',
    method: 'post',
    data,
  })
}

export function doState(data: any) {
  return request({
    url: '/SystemSet/doBusinessProductState',
    method: 'post',
    data,
  })
}
